package com.zhuoyue.biz.core.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuoyue.biz.core.api.domain.SetSolVoiceScene;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * @author wjming
 */
public interface SetSolVoiceSceneMapper extends BaseMapper<SetSolVoiceScene> {

    /**
     * 查询语音的场景子索引
     *
     * @param voiceId
     * @return
     */
    @Select("select scene_child_od from set_sol_voice_scene where voice_id=#{voiceId} order by scene_child_od Asc")
    List<Integer> selectCodeByVoiceId(String voiceId);
}